home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 2037 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: news.sinet.slb.com!bar
  2. From: bar@se.houston.geoquest.slb.com (Berny Rieckhoff)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: I've forgotten, current directory char.
  5. Date: 17 Jan 1996 19:09:44 GMT
  6. Organization: GeoQuest Systems Inc. Houston
  7. Distribution: world
  8. Message-ID: <4djhho$63b@ohnasn01.sinet.slb.com>
  9. NNTP-Posting-Host: rmdsu3.englewood.geoquest.slb.com
  10. Originator: bar@rmdsu3
  11.  
  12.  
  13.  
  14. I've seen and used it once, but I no longer remember and poking through
  15. the manuals, I've come up empty. I believe I once found it tin the
  16. Amiga 2.0 (binder) manual, but short of reading every page I haven't
  17. been able to come up with it. 
  18.  
  19. Anyway what is the character for current working directory ? Like the 
  20. Unix '.' so one can (for example)
  21.  
  22.     copy dev:file ??? where ??? is the CWD
  23.  
  24. like    cp /dev/file .
  25.  
  26. Actually what I really want is to be able to do TAR or GNUTar
  27. from the current directory and get only relative path names 
  28. into the archive.
  29.  
  30. ie:         cd WORK:
  31.         GnuTar cvfM dev:df0 "whatever the cahracter is"
  32.  
  33. instead of     GnuTar cvfM dev:df0 WORK: 
  34.  
  35. which produces an archive that lists as:
  36.  
  37. WORK:Documents/XMass.letter...
  38. WORK:...etc...
  39.  
  40. instead of:
  41.  
  42. Documents/letter1
  43. Documents/letter2..
  44. Pictures/a.iff    
  45. Directory/etc....
  46.  
  47. Which could be restored anywhere on the system.
  48.  
  49. I'd prefer not to use a workaround such as 
  50.  
  51. assign ARCH: `CD`
  52. GnuTar cvfM dev:df0 ARCH:
  53.  
  54. and later 
  55.  
  56. assign ARCH: Place:where/archive/is/to/be/restored
  57. GnuTar xvf dev:df0
  58.  
  59. Thanks anyone
  60. -- 
  61. PLEASE REPLY TO:      brieckhoff@houston.geoquest.slb.com
  62. Bernhard Rieckhoff       Sr. Geophysicist, Schlumberger-GeoQuest
  63. Denver, CO USA           Voice (303) 486-3204 FAX (303) 694-4690
  64. *Opinions expressed here are unlikely to reflect those of my employer*
  65.